Skip to main content

Get All Chats

AutomatR.MicrosoftTeams.Activities.GetAllChats

The "Get All Chats" activity in AutomatR for Microsoft Teams retrieves all conversations among all chats for a specified user. This activity facilitates access to chat conversations, enhancing the capabilities of automation workflows focused on Microsoft Teams integration.

Properties

NameDescription
Input
Email IDSpecifies the email address associated with the user account for which chat conversations need to be retrieved. String variables containing the email address.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get All Chats" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a collection page (Microsoft.Graph.ICollectionPage<Chat>) containing chat conversations among all chats for the specified user. This can be further utilized in the workflow for processing chat data.

How to use:

  1. Drag and drop the "Get All Chats" activity onto the workflow.
  2. Configure the properties by specifying the email address for the user account.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve all chat conversations for the specified user.

Example: Consider an example where the "Get All Chats" activity is used to retrieve all chat conversations for a user with the email address "user@example.com":

Get All Chats:
Email ID: "user@example.com"
Delay: 1
Result: allChatsCollection

In this example, the activity retrieves all chat conversations for the user with the email address "user@example.com" with a delay of 1 second. The resulting collection page (allChatsCollection) contains information about the chat conversations, which can be further processed in the workflow.